Java Magazine: Microservices and Containers by Andrew Benstock
Author:Andrew Benstock [Benstock, Andrew]
Language: eng
Format: azw3
Publisher: UNKNOWN
Published: 2018-12-02T16:00:00+00:00
The compile script from the Java module sample application needs to be modiied slightly to include the updated module source path and the path to the OSGi math bundle ile (in the classpath):
javac -d out -classpath ./math/target/*.jar --module-source-path ./math/src -m simulation.math
The application layer modularity remains the same, because it’s simply loading the Java module wrappers around the OSGi bundles.
Conclusion Cooperation beats rivalry. When combined, Java modules and OSGi ofer a more complete and robust modularity solution than either ofers on its own. For example, without Java modules, OSGi cannot support compile-time enforcement of dependencies. Likewise, application-level modularity isn’t as complete and lifecycle control isn’t as robust without OSGi.
Combining both also helps existing OSGi applications leverage a growing number of Java 9 modules, and it ofers a clean integration (and, possibly, migration) path to build OSGi bundles and services into Java 9 applications.
I’ll close with a inal thought: when polarizing concepts arise in computer science (for example, the OS wars, the C++ versus Java debate, and framework diferences), it’s often better to avoid being religious and instead ind ways to work together.</article>
Eric J. Bruno is a lead real-time engineer at Perrone Robotics, where he’s teaching cars to drive themselves. He has 25 years’ experience in the information technology community as an enterprise architect, developer, and analyst with expertise in large-scale distributed software design.
SPENCER WOOD
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(22542)
Hello! Python by Anthony Briggs(21721)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(20296)
Dependency Injection in .NET by Mark Seemann(19635)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(19403)
Kotlin in Action by Dmitry Jemerov(19348)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(18840)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(17650)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16968)
Grails in Action by Glen Smith Peter Ledbrook(16799)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(14283)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(12244)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10948)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10598)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(10069)
Hit Refresh by Satya Nadella(9122)
The Kubernetes Operator Framework Book by Michael Dame(8541)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8367)
Robo-Advisor with Python by Aki Ranin(8307)